using Microsoft.TeamFoundation.WorkItemTracking.Client;
using EnvDTE80;

namespace TeamReview.Replay
{
	internal sealed class ItemNotFoundLink : ReplayLink
	{
	    public ItemNotFoundLink(DTE2 applicationObject) : base(applicationObject)
	    {
	    }

	    public override ReplayReceipt TryShowReplay(WorkItem workItem, DTE2 applicationObject)
		{
			ReplayReceipt receipt = new ReplayReceipt();
			receipt.ItemWasFound = false;
			receipt.Outcome = "Review Item could not be found";
			return receipt;
		}
	}
}
